package com.dycx.food.dto;

import com.dycx.common.dto.FileDTO;
import com.github.dozermapper.core.Mapping;
import lombok.Data;

import java.io.Serializable;
import java.util.List;



@Data
public class GoodsSpecDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;
    private String specKey;
    private Integer goodsPrice;
    private Integer goodsVipPrice;
    private Integer goodsStorage;
    private String goodsSerial;
    private String goodsName;

    private String thumbnail;

    @Mapping("this")
    private List<FileDTO> banner;

    private Boolean isDefaultCommon;
}
